import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-04-22
 * Time: 20:42
 */
public class FileThing {
    public static void main(String[] args) {
        File file1=new File("C:\\Users\\22652\\Desktop\\程序\\1.txt");
        System.out.println(file1);
        File file2=new File("C:\\Users\\22652\\Desktop\\程序","2.txt");
        System.out.println(file2);
        File file=new File("C:\\Users\\22652\\Desktop\\程序");
        File file3=new File(file,"3.txt");
        System.out.println(file3);
    }
}
